package cn.cdzy.relation.implementation;

public class Keyboard implements USB{
    private String name;
    @Override
    public void connect() {
        System.out.println(name + "键盘连接设备了，666~");

    }
    public void KeyDown() {
        System.out.println(name + "键盘按下按键，666");
    }

    public Keyboard(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
